<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include::header"></head>
<link href="/css/check/check.css" rel="stylesheet">
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="columns pull-right">
							<button class="btn btn-success" onclick="reLoad()">查询</button>
						</div>

						<div class="columns pull-right col-md-2 nopadding">
							<input id="searchName" type="text" class="form-control"
								   placeholder="用户名">
						</div>

						<div class="columns pull-right col-md-2 nopadding">
							<select data-placeholder="账号状态" class="form-control chosen-select" tabindex="2" style="width: 100%">
								if(row.status == '0' ){
								status = "<span class='badge bg-red' style='padding:5px 10px; background-color: #000000;color: #f5f1f1;'>待审核</span>";
								}else if(row.status == '1' ){
								status = "<span class='badge bg-red' style='padding:5px 10px;background-color: #1f8a28;color: #f5f1f1;'>正常</span>";
								}else if(row.status == '2' ){
								status = "<span class='badge bg-red' style='padding:5px 10px;background-color: #f6042f;color: #f5f1f1;'>冻结</span>";
								}else{
								status = "<span class='badge bg-red' style='padding:5px 10px;background-color: #f6042f;color: #f5f1f1;'>审核不通过</span>";
								}
								<option value="">选择账号状态</option>
								<option value="0">待审核</option>
								<option value="1">正常</option>
								<option value="2">冻结</option>
								<option value="3">审核不通过</option>
							</select>
						</div>
					</div>
					<table id="exampleTable" data-mobile-responsive="true">
					</table>
				</div>
			</div>
		</div>
		<!--shiro控制bootstraptable行内按钮看见性 -->
		<div>
			<script type="text/javascript">
				var s_edit_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="sys:check:edit">
			<script type="text/javascript">
				s_edit_h = '';
			</script>
		</div>
	</div>
	<div th:include="include::footer"></div>

	<script type="text/javascript" src="/js/appjs/sys/check/shopCheck.js"></script>
	<script type="text/javascript" src="/js/appjs/sys/check/cursor.js"></script>
</body>

</html>